<?php

namespace app\modules\core\controllers;

use yii\web\Controller;

/**
 * Default controller for the `core` module
 */
class DefaultController extends Controller
{
    public $layout = 'default';

    public function init() {
        parent::init();

        $this->enableCsrfValidation = false;
    }

    public function actionIndex() {
	return $this->render('dashboard');
    }

    public function actionConfig() {
	return $this->render('config');
    }

    public function actionField() {
	return $this->render('field-config');
    }

    public function actionList() {
	return $this->render('list');
    }

    public function actionContent() {
	return $this->render('content');
    }
}
